<extend name="Index::index"/>
<block name="title"><title>登录</title></block>
<block name="main">
<!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-megadropdown-tabs">
        <ul class="nav navbar-nav nav_1">
            <li><a class="color" href="{:U('index')}">首页</a></li>
            <foreach name="list" item="val">
    		<li class="dropdown mega-dropdown active">
			    <a class="color1" href="#" class="dropdown-toggle" data-toggle="dropdown">{$val['name']}<span class="caret"></span></a>				
				<div class="dropdown-menu ">
                    <div class="menu-top">
						<div class="col1">
							<div class="h_nav">
								<h4>{$val['name']}</h4>
									<ul>
									<notempty name="val.son">
									 <foreach name="val.son" item="v">
										<li><a href="{:U('Index/product')}">{$v['name']}</a></li>
									</foreach>
									<else/>
									没有子类
									</notempty>	
									</ul>	
							</div>			
						</div>		
						<div class="col1 col5">
						<img src="__PUBLIC__/Images/me.png" class="img-responsive" alt="">
						</div>
						<div class="clearfix"></div>
					</div>                  
				</div>				
			</li>
	</foreach>
        </ul>
     </div><!-- /.navbar-collapse -->

</nav>
			</div>
			<div class="col-sm-2 search-right">
				<ul class="heart">
				<li>
				<span class="glyphicon glyphicon-heart" aria-hidden="true"></span>
				</li>
				<li><a class="play-icon popup-with-zoom-anim" href="#small-dialog"><i class="glyphicon glyphicon-search"> </i></a></li>
					</ul>
					<div class="clearfix"> </div>
					
						<!----->

						<!---pop-up-box---->					  
			<link href="__PUBLIC__/Css/popuo-box.css" rel="stylesheet" type="text/css" media="all"/>
			<script src="__PUBLIC__/js/jquery.magnific-popup.js" type="text/javascript"></script>
			<!---//pop-up-box---->
			<div id="small-dialog" class="mfp-hide">
				<div class="search-top">
					<div class="login-search">
						<input type="submit" value="">
						<input type="text" value="Search.." onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Search..';}">		
					</div>
					<p>Shopin</p>
				</div>				
			</div>
		 <script>
			$(document).ready(function() {
			$('.popup-with-zoom-anim').magnificPopup({
			type: 'inline',
			fixedContentPos: false,
			fixedBgPos: true,
			overflowY: 'auto',
			closeBtnInside: true,
			preloader: false,
			midClick: true,
			removalDelay: 300,
			mainClass: 'my-mfp-zoom-in'
			});
																						
			});
		</script>		
						<!----->
			</div>
			<div class="clearfix"></div>
		</div>	
	</div>	
</div>
<!--banner-->
<div class="banner-top">
	<div class="container">
		<h1>登录</h1>
		<em></em>
		<h2><a href="{:U('index/index')}">首页</a><label>/</label>登录</a></h2>
	</div>
</div>
<!--login-->
<div class="container">
		<div class="login">
		
			<form action="{:U('login')}" method="post">
			<div class="col-md-6 login-do">
				<div class="login-mail">
					<input type="text" name="username" placeholder="用户名">
					<i  class="glyphicon glyphicon-envelope"></i>
				</div>
				<div class="login-mail">
					<input type="password" name="pwd" placeholder="密 码">
					<i class="glyphicon glyphicon-lock"></i>
				</div>
				<div class="login-mail">
					<input style="width:50%;"type="text" name="yzm" placeholder="请输入验证码" />
					<img style="float:right;margin-top:-4px;"src="{:U('yzm')}" onclick="change(this)" alt="加载验证码失败"/>
					<script type="text/javascript">
					function change(obj)
					{
						obj.src=obj.src+'?id='+Math.random();
					}
			</script>
				</div>
				   <a class="news-letter " href="#">
						 <label class="checkbox1"><input type="checkbox" name="checkbox" ><i> </i>Forget Password</label>
					   </a>
				<label class="hvr-skew-backward">
					<input type="submit" value="登录">
				</label>
			</div>
			<div class="col-md-6 login-right">
				 <h3>用户注册协议</h3>
				 
				 <p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;经本站注册系统完成注册程序并通过身份认证的用户即成为正式用户，可以获得本站规定用户所应享有的一切权限；未经认证仅享有本站规定的部分会员权限。<br/>
				 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用户只能按照注册要求使用真实姓名，及身份证号注册。用户有义务保证密码和帐号的安全，用户利用该密码和帐号所进行的一切活动引起的任何损失或损害，由用户自行承担全部责任，本站不承担任何责任。如用户发现帐号遭到未授权的使用或发生其他任何安全问题，应立即修改帐号密码并妥善保管，如有必要，请通知本站。因黑客行为或用户的保管疏忽导致帐号非法使用，本站不承担任何责任。 </p>
				<a href="{:U('Index/reg')}" class=" hvr-skew-backward">注册</a>

			</div>
			
			<div class="clearfix"> </div>
			</form>
		</div>

</div>

<!--//login-->
			</div>
			
		</div>
</block>